import liveAreaEntrance from './liveAreaEntrance';

export default class liveHome {
  banner: Array<liveBanner>;
  area_entrance_v2: Array<liveAreaEntrance>;
  area_entrance: Array<liveAreaEntrance>;
  hour_rank: Array<liveHourRank>;
  room_list: Array<roomList>;
}

export class liveBanner {
  module_info: liveModuleInfo;
  list: Array<liveBannerItem>;
}

export class liveBannerItem {
  id: number;
  title: string;
  link: string;
  pic: string;
  count: number;
}

export class liveHourRank {
  module_info: liveModuleInfo;
  extra_info: liveExtraInfo;
  list: Array<liveHourRankItem>;
}

export class liveHourRankItem {
  uid: number;
  roomid: number;
  uname: string;
  face: string;
  area_v2_parent_id: number;
  area_v2_id: number;
  area_v2_name: string;
  area_v2_parent_name: string;
}

export class liveExtraInfo {
  sub_title: string;
}

export class roomList {
  module_info: liveModuleInfo;
  list: Array<roomListItem>;
}

export class liveModuleInfo {
  id: number;
  type: number;
  sort: number;
  title: string;
  link: string;
  pic: string;
  count: number;
}

export class roomListItem {
  area_v2_parent_id: number;
  area_v2_id: number;
  face: string;
  area_id: number;
  area_name: string;
  parent_name: string;
  area_v2_name: string;
  area_v2_parent_name: string;
  cover: string;
  title: string;
  roomid: number;
  uname: string;
  online: number;
}